<com:TPanel Id="PortletEditMode" Style="border-bottom: 1px solid black; margin: 0px 0px 0px 0px; text-align: right;">
	<com:TImageButton OnClick="MoveButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_next.gif" Text="<%[Move to another area]%>" />
	<com:TImageButton OnClick="UpButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_up.gif" Text="<%[Move portlet up]%>" />
	<com:TImageButton OnClick="DownButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/page_down.gif" Text="<%[Move portlet down]%>" />
	<com:TImageButton OnClick="PropertyButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/application_form.png" Text="<%[Properties]%>" />
	<com:TImageButton OnClick="DeleteButtonClicked" ImageURL="<%=$this->Page->getTheme()->getBaseUrl()%>/images/edit/application_delete.png" Text="<%[Remove portlet]%>" Attributes.onclick="if(!confirm('<%= Prado::localize('Are you sure?') %>')) return false;" />
</com:TPanel>
<com:TPanel id="EditContent" GroupingText="<%[Flash information]%>" DefaultButton="SaveSWF">
	<table width="100%">
		<tr>
			<td><%[Flash object]%></td>
			<td>
				<com:TDropDownList Id="SWFName" DataTextField="name" DataValueField="name" PromptText="<%[Select]%>" PromptValue="0" />
				<com:TRequiredFieldValidator Id="swfNameVal" InitialValue="0" ControlToValidate="SWFName" ValidationGroup="swfValGrp" Display="Dynamic" Text="<%[You need to select a image]%>" ControlCssClass="input-error1" />
			</td>
		</tr>
		<tr>
			<td><%[CSS class]%></td>
			<td><com:TTextBox id="SWFCssClass" Columns="20"/></td>
		</tr>
		<tr>
			<td><%[Width]%></td>
			<td><com:TTextBox id="SWFWidth" Columns="4"/></td>
		</tr>
		<tr>
			<td><%[Height] %></td>
			<td><com:TTextBox id="SWFHeight" Columns="4"/></td>
		</tr>
		<tr>
			<td><%[Quality]%></td>
			<td>
				<com:TDropDownList id="SWFQuality" PromptText="<%[Select]%>" >
				<com:TListItem Text="<%[Low]%>" value="low" />
				<com:TListItem Text="<%[Medium]%>" value="medium" />
				<com:TListItem Text="<%[High]%>" value="high" />
				</com:TDropDownList>
				<com:TRequiredFieldValidator Id="swfQualityVal" InitialValue="0" ControlToValidate="SWFQuality" ValidationGroup="swfValGrp" Display="Dynamic" Text="<%[You need to select a image]%>" ControlCssClass="input-error1" />
			</td>
		</tr>
		<tr>
			<td><%[View mode]%></td>
			<td>
				<com:TDropDownList id="SWFWmode" PromptText="<%[Select]%>" >
				<com:TListItem Text="<%[Window]%>" value="window" />
				<com:TListItem Text="<%[Opaque]%>" value="opaque" />
				<com:TListItem Text="<%[Transparant]%>" value="transparent" />
				</com:TDropDownList>
				<com:TRequiredFieldValidator Id="swfWMode" InitialValue="0" ControlToValidate="SWFQuality" ValidationGroup="swfValGrp" Display="Dynamic" Text="<%[You need to select a image]%>" ControlCssClass="input-error1" />
			</td>
		</tr>
		<tr>
			<td><%[File]%><br />
			(Max: <com:TLiteral Id="ltFileSize" />)</td>
			<td>
				<com:TFileUpload Id="FileUpload" OnFileUpload="OnFileUpload" /><br />
				<com:TButton BackColor="silver" Id="swfSendFile" Text="<%[Send]%>" ValidationGroup="swfValGrpUpload"/>
				<com:TRequiredFieldValidator Id="swfUploadVal" ValidationGroup="swfValGrpUpload" EnableClientScript="true" ControlToValidate="FileUpload" ErrorMessage="<%[Select a file.]%>" ControlCssClass="required-field" />
			</td>
		</tr>
		<tr>
			<td colspan="2"><hr /></td>
		</tr>
		<tr>
			<td><com:TLinkButton Id="SaveSWF" Text="<%[Save]%>" CssClass="link-button" OnClick="SaveSWF" ValidationGroup="swfValGrp" /></td>
			<td style="text-align: right;"><com:TLinkButton Id="CancelContent" Text="<%[Cancel]%>" CssClass="link-button" OnClick="CancelContent" /></td>
		</tr>
	</table>
</com:TPanel>